home *** CD-ROM | disk | FTP | other *** search
/ Chip 2007 January, February, March & April / Chip-Cover-CD-2007-02.iso / Pakiet internetowy / Rozne / HTTrack 3.40-2 / httrack-3.40-2.exe / {app} / src / htscoremain.h < prev    next >
Encoding:
C/C++ Source or Header  |  2005-04-24  |  2.0 KB  |  67 lines

  1. /* ------------------------------------------------------------ */
  2. /*
  3. HTTrack Website Copier, Offline Browser for Windows and Unix
  4. Copyright (C) Xavier Roche and other contributors
  5.  
  6. This program is free software; you can redistribute it and/or
  7. modify it under the terms of the GNU General Public License
  8. as published by the Free Software Foundation; either version 2
  9. of the License, or any later version.
  10.  
  11. This program is distributed in the hope that it will be useful,
  12. but WITHOUT ANY WARRANTY; without even the implied warranty of
  13. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  14. GNU General Public License for more details.
  15.  
  16. You should have received a copy of the GNU General Public License
  17. along with this program; if not, write to the Free Software
  18. Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
  19.  
  20.  
  21. Important notes:
  22.  
  23. - We hereby ask people using this source NOT to use it in purpose of grabbing
  24. emails addresses, or collecting any other private information on persons.
  25. This would disgrace our work, and spoil the many hours we spent on it.
  26.  
  27.  
  28. Please visit our Website: http://www.httrack.com
  29. */
  30.  
  31.  
  32. /* ------------------------------------------------------------ */
  33. /* File: httrack.c subroutines:                                 */
  34. /*       main routine (first called)                            */
  35. /* Author: Xavier Roche                                         */
  36. /* ------------------------------------------------------------ */
  37.  
  38.  
  39.  
  40. #ifndef HTSMAINHSR_DEFH
  41. #define HTSMAINHSR_DEFH 
  42.  
  43. // --assume standard
  44. #define HTS_ASSUME_STANDARD \
  45.   "php2 php3 php4 php cgi asp jsp pl cfm nsf=text/html"
  46.  
  47. #include "htsglobal.h"
  48.  
  49. /* Library internal definictions */
  50. #ifdef HTS_INTERNAL_BYTECODE
  51. // Main, rΘcupΦre les paramΦtres et appelle le robot
  52. #if HTS_ANALYSTE
  53. #ifndef HTTRACK_DEFLIB
  54. HTSEXT_API int hts_main(int argc, char **argv);
  55. #endif
  56. #else
  57. int main(int argc, char **argv);
  58. #endif
  59.  
  60. int cmdl_opt(char* s);
  61. int check_path(char* s,char* defaultname);
  62.  
  63. #endif
  64.  
  65.  
  66. #endif
  67.